package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 二维码名片信息
 * */
@Entity
@Table(name="qrcodecard")
public class Qrcodecard implements Serializable {
	private static final long serialVersionUID = -3411692385616650238L;
	private String id;//id主键
	private String cname;//姓名
	private String cemail;//邮箱
	private String cmodelphone;//手机
	private String cphone;//电话
	private String caddress;//地址
	private String company;//公司
	private String cduty;//职务
	private String cperhomepage;//个人主页
	private String cbak;//备注
	private String siteid;//站点编号
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "cname")
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	@Column(name = "cemail")
	public String getCemail() {
		return cemail;
	}
	public void setCemail(String cemail) {
		this.cemail = cemail;
	}
	@Column(name = "cmodelphone")
	public String getCmodelphone() {
		return cmodelphone;
	}
	public void setCmodelphone(String cmodelphone) {
		this.cmodelphone = cmodelphone;
	}
	@Column(name = "cphone")
	public String getCphone() {
		return cphone;
	}
	public void setCphone(String cphone) {
		this.cphone = cphone;
	}
	@Column(name = "caddress")
	public String getCaddress() {
		return caddress;
	}
	public void setCaddress(String caddress) {
		this.caddress = caddress;
	}
	@Column(name = "company")
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	@Column(name = "cduty")
	public String getCduty() {
		return cduty;
	}
	public void setCduty(String cduty) {
		this.cduty = cduty;
	}
	@Column(name = "cperhomepage")
	public String getCperhomepage() {
		return cperhomepage;
	}
	public void setCperhomepage(String cperhomepage) {
		this.cperhomepage = cperhomepage;
	}
	@Column(name = "cbak")
	public String getCbak() {
		return cbak;
	}
	public void setCbak(String cbak) {
		this.cbak = cbak;
	}
	@Column(name = "siteid")
	public String getSiteid() {
		return siteid;
	}
	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
}
